home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / q_t / raystorm / arexx / randomsph.ray < prev    next >
Encoding:
Text File  |  1995-12-31  |  819 b   |  46 lines

  1. /***************
  2.  * NAME:          randomsph.ray
  3.  * VERSION:       1.0 08.07.1995
  4.  * DESCRIPTION:   This ARexx-programm demonstrates random colors of faces
  5.  * AUTHORS:       Andreas Heumann
  6.  * BUGS:          none
  7.  * TO DO:         none
  8.  * HISTORY:
  9.  *    DATE     NAME  COMMENT
  10.  *    08.07.95 ah    initial release
  11.  ***************/
  12.  
  13. signal on error
  14.  
  15. options results
  16.  
  17. IF ~show('P','RAYSTORM') THEN DO
  18.     address COMMAND 'run >NIL: <NIL: /RayStorm'
  19.     address COMMAND WaitForPort RAYSTORM
  20. END  
  21.  
  22. address RAYSTORM
  23.  
  24. 'OBJECTPATH /objects'
  25.  
  26. 'SETSCREEN 100 100'
  27. 'SETCAMERA <0,0,300> <0,0,0> <0,1,0> 20 20'
  28. 'SETWORLD [0,0,0] [20,20,20]'
  29. 'POINTLIGHT <10,-10,100>'
  30.  
  31. 'LOADOBJ randomsphere.iob'
  32.  
  33. 'STARTRENDER QUICK'
  34.  
  35. 'SAVEPIC randomsph.iff'
  36.  
  37. 'CLEANUP'
  38.  
  39. exit 0
  40.  
  41. error:
  42. say "Error" rc "in line" sigl ":"
  43. GETERRORSTR rc
  44. say result
  45. exit 0
  46.